package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmUserRole;
import cn.flying.system.domain.cm.CmUserRoleExample;

public interface CmUserRoleMapper {
    long countByExample(CmUserRoleExample example);

    int deleteByExample(CmUserRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmUserRole row);

    int insertSelective(CmUserRole row);

    List<CmUserRole> selectByExampleWithRowbounds(CmUserRoleExample example, RowBounds rowBounds);

    List<CmUserRole> selectByExample(CmUserRoleExample example);

    CmUserRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmUserRole row, @Param("example") CmUserRoleExample example);

    int updateByExample(@Param("row") CmUserRole row, @Param("example") CmUserRoleExample example);

    int updateByPrimaryKeySelective(CmUserRole row);

    int updateByPrimaryKey(CmUserRole row);
}